package cn.itsource.ymcc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;


@Component
@Data
@RefreshScope
@ConfigurationProperties(prefix = "smscode")
public class SmsCodeProperties {
    private Long expire;
    private Long interval;
}
